package com.xyt.imei.core.model.dto;

import lombok.Data;

@Data
public class BatchStoreDTO {

	private String imeiNo;
	
	@Override
	public boolean equals(Object obj) {
		
		if (obj == this) {
            return true;
        }
        if (obj == null || obj.getClass() != this.getClass()) {
            return false;
        }

        BatchStoreDTO batchStoreDTO = (BatchStoreDTO) obj;
        return (this.imeiNo.equals(batchStoreDTO.getImeiNo()));
    }

	@Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result
                + ((imeiNo == null) ? 0 : imeiNo.hashCode());
        return result;
    }
	
}
